package net.lijingye.education.request;

import org.hibernate.validator.constraints.NotBlank;

import java.util.List;

/**
 * Created by LijingYe on 2016/3/26.
 */
public class PostTweetRequest {
    @NotBlank
    private String content;

    private List<String> file;

    public PostTweetRequest() {
    }

    public PostTweetRequest(String content, List<String> file) {
        this.content = content;
        this.file = file;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public List<String> getFile() {
        return file;
    }

    public void setFile(List<String> file) {
        this.file = file;
    }

    @Override
    public String toString() {
        return "PostTweetRequest{" +
                "content='" + content + '\'' +
                ", file=" + file +
                '}';
    }
}
